package com.eraymarkus.emergencybutler;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class ScreenOnReceiver extends BroadcastReceiver {
	@Override
	public void onReceive(Context context, Intent intent) {
		if (Intent.ACTION_CAMERA_BUTTON.equals(intent.getAction())) {
			Intent main = new Intent();
			android.util.Log.d("screen", "screen on");
			main.setClassName(context, Main.class.getName());
		}
	}
}